﻿namespace CTP.CRM.Core.Helper
{
    /// <summary>
    /// 系统帮助类
    /// </summary>
    public class SystemHelper
    {
        /// <summary>
        /// 是否开发环境
        /// </summary>
        /// <returns></returns>
        public static bool IsDevelopment()
        {
            var environment = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT");
            return environment == "Development";
        }

        

    }
}
